﻿/*************************************************************************************
 *
 * 文 件 名:   UserModel
 * 描    述: 
 * 
 * 版    本：  V1.0
 * 创 建 者：  zhanqingzhu
 * 创建时间：  2021-11-25 15:01:22
*************************************************************************************/
using Newtonsoft.Json;
using System;
namespace ProjectModel
{

	//T_User
	[Serializable]
	public partial class UserModel
	{
		#region  自动生成
		/// <summary>
		/// ID
		/// </summary>
		[JsonProperty(PropertyName = "id")]
		public int Id { get; set; }
		/// <summary>
		/// UserName
		/// </summary>
		[JsonProperty(PropertyName = "username")]
		public string Username { get; set; }
		/// <summary>
		/// UserPwd
		/// </summary>
		[JsonProperty(PropertyName = "userpwd")]
		public string Userpwd { get; set; }
		/// <summary>
		/// Role
		/// </summary>
		[JsonProperty(PropertyName = "role")]
		public string Role { get; set; }
		#endregion  自动生成

		/// <summary>
		/// 无参构造函数
		/// </summary>
		public UserModel() { }

		/// <summary>
		/// 带参构造函数
		/// </summary>
		/// <param name="id">ID</param>
		/// <param name="username">UserName</param>
		/// <param name="userpwd">UserPwd</param>
		/// <param name="role">Role</param>
		public UserModel(int id, string username, string userpwd, string role)
		{
			Id = id;
			Username = username;
			Userpwd = userpwd;
			Role = role;
		}
	}

}